package test

fun main(args: Array<String>) {
    var lists = listOf("红楼梦","三国演义","西游记","水浒传","封神榜")
    for((i,e) in lists.withIndex()){
        println("$i $e")
    }
}